package com.pms.entity;

import com.pms.util.DateUtil;

public class IdeaComment {
	private String ideaCommentId;
	private String desc;
	private String createTime;
	private Idea idea;
	private User user;
	private String ideaId;
	private String userId;
	
	
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getIdeaId() {
		return ideaId;
	}
	public void setIdeaId(String ideaId) {
		this.ideaId = ideaId;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getIdeaCommentId() {
		return ideaCommentId;
	}
	public void setIdeaCommentId(String ideaCommentId) {
		this.ideaCommentId = ideaCommentId;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	
	public Idea getIdea() {
		return idea;
	}
	public void setIdea(Idea idea) {
		this.idea = idea;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public String getTime(){
		String date=DateUtil.getNiceDate(createTime);
		return date;
		
	}
	
}
